package org.cancer.hadesdata.syno;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

@Configuration
public class RestClientConfig {
	@Bean
    public RestTemplate restTemplate() {  
        RestTemplate restTemplate = new RestTemplate();  
        //restTemplate.setErrorHandler(new CustomErrorHandler());  
        return restTemplate;  
    }
}
